{template 'common/header'}
<style type='text/css'>
       .trbody td {text-align: center; vertical-align:top;border-left:1px solid #ccc; border-bottom: 1px solid #ddd;}
.column_bg{
	 background:rgba(0, 0, 0, 0.52); width:100%;
	 height:100%;
	 position:fixed;
	 top:0;
	 left:0;
	 z-index:1000;
}
.column{
	 background:#fff;
	 width:35%;
	 margin:10% auto;
	 border-radius:8px;
	 overflow: hidden;
}
.column h3{
	background:#5bc0de;
	color:#fff;
	font-size:24px;
	height:45px;
	line-height:45px;
	text-align:center;
	margin:0;
	}
.column_center{
	width:100%;
	padding:3% 2%;
	overflow:hidden;
	} 
.column_center p{
    width: 100% !important;
    height: 45px !important;
    line-height: 45px !important;
    text-align: right !important;
    padding-right: 16%;
	margin:4% 0 !important;
	}
.column_center p span{width:29% !important;}
.column_center p select{
    width: 70%;
    height: 34px;
	}
.column_center p input{
    width: 70%;
    height: 35px;
    margin-left: 1%;
    line-height: 35px;
	padding-left: 1%;
	}	
.column p{
    width: 100%;
    height: 45px;
    line-height: 45px;
    margin: 0;
    text-align: center;

	}	
.column p span{
	width:50%;
	float:left;
	display:inline-block;

	}
.column p em{
    position: absolute;
    height: 44px;
    background-color: #ddd;
    line-height: 44px;
    width: 1px;
    left: 50%;
    top: 0;
	}		
.column .bottom{
    width: 100%;
    height: 45px;
    line-height: 45px;
    margin: 0;
    border-top: 1px #ddd solid;
	position:relative;
	}	
</style>
<div class="main">
    <div class="panel panel-info">
        <div class="panel-heading">筛选</div>
        <div class="panel-body">
            <form action="{php echo $this->createWebUrl('yqxrecord')}" method="get" class="form-horizontal">
            <input type="hidden" name="c" value="site">
        	<input type="hidden" name="a" value="entry">
        	<input type="hidden" name="m" value="dashen_zaoqizhuanqian">
        	<input type="hidden" name="do" value="yqxrecord">
            <input type="hidden" name="uid" value="{$uid}">
           <div class="form-group">
           		<label class="col-xs-12 col-sm-3 col-md-2 control-label">状态：</label>
                <div class="col-sm-9 col-md-8 col-lg-8 col-xs-12">
                    <select class="form-control" name="follow_state" id="follow_state">
                    <option {php echo $gz_state==''?'selected="selected"':'';} value="">请选择</option>
                    <option {php echo $gz_state=='1'?'selected="selected"':'';} value="1">关注</option>
                    <option {php echo $gz_state=='2'?'selected="selected"':'';} value="2">未关注</option>
                    </select>
                </div>
            </div>
            <div class="form-group" style="text-align:center;">
                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                	<button class="btn btn-default"><i class="fa fa-search"></i> 搜索</button>
                </div>
            </div>
            </form>
        </div>
    </div>

    <div class="panel panel-info">
	    <div class="panel-heading">邀请记录</div>
	    {if $list}
	    <div class="panel-body">
            <table class="table table-hover">
            <thead class="navbar-inner">
                <tr>
                    <th>用户UID</th>
                    <th >头像</th>
                    <th>昵称</th>
                    <th width="260">日期</th>     
					
                    <th>关注状态</th>
					<th >奖励金额</th> 
					<th >奖励是否发放</th> 
                   <!-- <th>关注次数</th>-->
                </tr>
            </thead>
            <tbody id="table_content" >               
				{loop $list $l}
                <tr  >
               		<td>{$l['id']}</td>
                    <td><img src="{$l['headimgurl']}" width="50" height="50" alt="" /></td>
                    <td>{$l['nickname']}</td>
                    <td style="line-height:25px;">{$l['yaoqing_data']}</td>
                    <td><a>{php echo $l['follow_state']==0?'未关注':'已关注'}</a></td>   
					<td>{$l['invitation_money']}</td>
                    <td><a>{php echo $l['invitation_status']==0?'未发放':'已发放'}</a></td>   
                   <!-- <td>{$l['fllow_count ']}</td>     -->        
                </tr>  
				 {/loop}
            </tbody>
        </table>
        {$pager}
		{else}
			<h4 style="text-align:center;">还没有数据<h4>
		{/if}
	    </div>
	</div>
</div>
{template 'common/footer'}